<script>
const serverSrc = 'www.baidu.com'
const token = '12345678'
const hasEnter = false
const userSite = '中国钓鱼岛'
const serverHost = 'baishan.yinziming.com'
// const serverHost = '127.0.0.1'
const serverHostES = 'es.yinziming.com'

const requestESURL = 'http://' + serverHostES + ':80/lishikai_index000/_search'
const requestESURL_DELETE = 'http://' + serverHostES + ':80/lishikai_index000/_delete_by_query'
const requestDjango = 'http://' + serverHost + ':80/kgprocess/'
const requestMapData = 'http://' + serverHost + ':80/statisticForEcharts/'
const fileuploadESURL = 'http://' + serverHost + ':80/upload_file/'
const ifZLcomplete = 'http://' + serverHost + ':80/statisticForIfZLcomplete'
const unitUncomplete = 'http://' + serverHost + ':80/statisticForUnitUncomplete'
const historyTrend = 'http://' + serverHost + ':80/hiddenHistoricalTrend'
const hiddenReason = 'http://' + serverHost + ':80/hiddenReason'
const hiddenFrom = 'http://' + serverHost + ':80/hiddenFrom'
const hiddenOfficeFrom = 'http://' + serverHost + ':80/hiddenOfficeFrom'
const userAll = 'http://' + serverHost + ':80/user_all/'
const userAdd = 'http://' + serverHost + ':80/user_add/'
const userDelete = 'http://' + serverHost + ':80/user_delete/'
const userUpdate = 'http://' + serverHost + ':80/user_update/'
const userCheck = 'http://' + serverHost + ':80/user_check/'
// const requestMapData = 'http://127.0.0.1:8000/statisticForEcharts/'
// const requestDjango = 'http://127.0.0.1:8000/kgprocess/'
const processHandleInput = 'http://' + serverHost + ':80/processHandleInput/'
// eslint-disable-next-line camelcase
const sent_json_to_elasticsearch = 'http://' + serverHost + ':80/sent_json_to_elasticsearch/'
export default
{
  userSite, // 用户地址
  token, // 用户token身份
  serverSrc, // 服务器地址
  hasEnter, // 用户登录状态
  requestESURL, // 请求ES的URL地址
  requestESURL_DELETE, // 请求ES删除数据的地址
  requestDjango, // 请求Django服务器的URL地址
  requestMapData, // 请求Django服务器的echartsmap
  fileuploadESURL, // 请求上传到ES上处理服务的地址
  ifZLcomplete, //
  unitUncomplete,
  historyTrend,
  hiddenReason,
  hiddenFrom,
  hiddenOfficeFrom,
  processHandleInput,
  sent_json_to_elasticsearch,
  userAll,
  userAdd,
  userDelete,
  userUpdate,
  userCheck
}
</script>
